﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ICartItemRepository.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   Defines the ICartItemRepository type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace UnityRepository.Interfaces
{
  using System;
  using System.Collections.Generic;
  using Entities;
  using Repository;

  public interface ICartItemRepository : IRepository<CartItem>
  {
    CartItem GetCart(String documentId, String cartId);

    PagedResult<CartItem> GetCart(String cartId, Int32 pageNumber, Int32 numberOfItems);

    List<CartItem> GetCart(String cartId);

    Int32 GetNumberOfItemsInCart(String cartId);
  }
}
